const getters = {
  info: state => state.user.accountInfo,
  tenatInfo: state => state.user.tenatInfo,
  token: state => state.user.token,
  tenant: state => state.user.tenant,
  roles: state => state.user.accountInfo.username,
  baseRoute: state => state.user.routes,
  homeRoute: state => state.user.homeRoute,
  permissions: state => state.user.permissions,
  isLoading:state=>state.setting.isLoading
};
export default getters;
